<!--
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2025-01-04 19:38:11
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2025-01-14 14:24:47
 * @FilePath: \project-my\vue-mall\src\App.vue
 * @Description: 
-->
<script setup lang="ts">
// import { useRouter } from 'vue-router';

// const router = useRouter()

// const goLink = (path: string) => {
//   router.push(path)
// }
</script>

<template>
  <!-- <div class="mb-4">
    <el-button type="primary" @click="goLink('/')">home</el-button>
    <el-button type="primary" @click="goLink('/login')">login</el-button>
    <el-button type="primary" @click="goLink('/action')">action</el-button>
    <el-button type="primary" @click="$router.push('/action')">action2</el-button>
  </div> -->
  <router-view />
</template>
